//2009/08/14 21:14:41
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class LeapAge
{
public:
    int getAge(int year, int born)
    {
		int count = 0;
		for(int i=born+1; i<=year; i++)
		{
			if((i%400==0 || i%100!=0) && i%4==0) count ++;
		}
		return count;
    }
};
